package net.csdn.business.kanban.common.domain.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.csdn.business.kanban.common.domain.PageQueryParamDTO;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName kanbanQuery
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/9/14
 **/
@Data
public class KanbanQuery extends PageQueryParamDTO {
    @NotBlank
    @Schema(name="org_id",description = "组织ID")
    private String orgId;

    @Schema(name="kanban_name",description = "看板名称")
    private String kanbanName;

    @NotNull
    @Schema(name="status",description = "状态：0:close 1:open")
    private Integer status;

    @NotNull
    @Schema(name="sortOrder",description = "排序方式 1:更新时间倒序 2:更新时间顺序")
    private Integer sortOrder;

    private String uid;
}
